#ifndef GLSHADER_H_
#define GLSHADER_H_

#include <GL/glew.h>
#include "GLShaderConfig.h"

class GLShader {
private:
	GLuint vertexShaderHandler;
	GLuint fragmentShaderHandler;

	GLuint loadShader(std::string shaderFileName, bool isVertexShader);

protected:
	GLShaderConfig config;

public:
	GLShader();
	~GLShader();
	GLuint getVertexShaderHandler();
	GLuint getFragmentShaderHandler();
	GLShaderConfig getConfig() { return config; };

	std::map<std::string, int> getInputAttributes();
};

#endif /* GLSHADER_H_ */
